from PyQt5 import QtWidgets

from SetExpTimeWindow import Ui_Dialog
from PyQt5.QtWidgets import QMainWindow, QApplication, QDialog
import pymysql
import sys

from TDC_GUI0319 import Ui_MainWindow


class SetExpTime(QMainWindow,Ui_MainWindow):
    def __init__(self):
        super().__init__()
        self.setupUi(self)
        print("aaa")
        self.pushButton.clicked.connect(self.abc)

    def abc(self):
        print("abc")

if __name__ == "__main__":
    app = QtWidgets.QApplication(sys.argv)
    MainWindow = QtWidgets.QMainWindow()
    ui = Ui_MainWindow()
    ui.setupUi(MainWindow)
    MainWindow.show()
    sys.exit(app.exec_())
